<?php

if($_POST['username']=='admin' &&
   $_POST['password']=='1q1q1q' )
{
$cat = array(1=>'Apple',
             2=>'Sony',
             3=>'Toshiba',
             4=>'HTC',
             5=>'Samsung',
             6=>'Asus');
sleep(2);
echo json_encode($cat);
}
